CC			=		g++

CFLAGS		=		-W -Wall -pedantic

NAME		=		rtype

SRC			=		main.cpp				\
					absThreads.cpp			\
					unixAbsThreads.cpp

OBJ			=		$(SRC:.cpp=.o)

INCLUDE		=		-I./

LIB			=		-lpthread

RM			=		rm -f

$(NAME): $(OBJ)
	$(CC) $(OBJ) $(LIB) -o $(NAME)

all:
	$(NAME)
		
clean:
	$(RM) $(OBJ)
	
fclean: clean
	$(RM) $(NAME)

re: fclean all

.PHONY: all clean fclean re
